/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.distribution.common.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xwc
 * @date 2019-04-22 10:01:44
 */
@Data
@TableName("tz_distribution_prod_bind")
@EqualsAndHashCode
@ApiModel("分销商品绑定表")
public class DistributionProdBind implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("用户商品绑定表")
    private Long id;

    @ApiModelProperty("分销员id")
    private Long distributionUserId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("绑定时间")
    private Date bindTime;

    @ApiModelProperty("商品id")
    private Long prodId;

    @ApiModelProperty("状态(0失效 1生效)")
    private Integer state;
}
